import { IOpenData, IOpenDetail } from "@/interface/openComm";

export const openData: IOpenData = {
  first: true,
  last: true,
  lb: '1',
  number: 0,
  size: 10,
  totalPages: 0,
  totalElements: 0,
  numberOfElements: 0,
  content: [],
};


const testData: IOpenDetail[] = [
  {
    sh: 1,
    bt: '测试标题1',
    lb: '年度重大事项公开',
    dt: '2025-06-20',
    bcr: '李伟',
  },
  {
    sh: 1,
    bt: '测试标题1',
    lb: '年度重大事项公开',
    dt: '2025-06-20',
    bcr: '李伟',
  },
  {
    sh: 1,
    bt: '测试标题1',
    lb: '年度重大事项公开',
    dt: '2025-06-20',
    bcr: '李伟',
  },
  {
    sh: 1,
    bt: '测试标题1',
    lb: '年度重大事项公开',
    dt: '2025-06-20',
    bcr: '李伟',
  },
  {
    sh: 1,
    bt: '测试标题1',
    lb: '年度重大事项公开',
    dt: '2025-06-20',
    bcr: '李伟',
  },
  {
    sh: 1,
    bt: '测试标题1',
    lb: '年度重大事项公开',
    dt: '2025-06-20',
    bcr: '李伟',
  },
  {
    sh: 1,
    bt: '测试标题1',
    lb: '年度重大事项公开',
    dt: '2025-06-20',
    bcr: '李伟',
  },
  {
    sh: 1,
    bt: '测试标题1',
    lb: '年度重大事项公开',
    dt: '2025-06-20',
    bcr: '李伟',
  },
  {
    sh: 1,
    bt: '测试标题1',
    lb: '年度重大事项公开',
    dt: '2025-06-20',
    bcr: '李伟',
  },
  {
    sh: 1,
    bt: '测试标题1',
    lb: '年度重大事项公开',
    dt: '2025-06-20',
    bcr: '李伟',
  },
]

export const testData2: IOpenData = {
  first: true,
  last: true,
  lb: '1',
  number: 0,
  size: 10,
  totalPages: 10,
  totalElements: 100,
  numberOfElements: 100,
  content: testData,
}

